<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2019 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 老猫 <thinkcmf@126.com>
// +----------------------------------------------------------------------
namespace app\album\model;

use think\Model;
use think\Db;

class LoginModel extends Model
{
    /**
     * @var array 自动验证
     */
    protected $_validate = array(
        array('username', 'require', '用户名不能为空'),
        array('password', 'require', '密码不能为空')
    );

    /**
     * 自动完成
     */
    protected $_auto = array(
        array('regdate','time','function')
    );



}